<template>
  <div class="user-list">
    <div class="user-own">
      <div class="money">
        <div>
          <span>0.00</span>元
        </div>
        <div class="text">我的余额</div>
      </div>
      <div class="discount">
        <div>
          <span>0</span>个
          <div class="text">我的优惠</div>
        </div>
      </div>
      <div class="point">
        <div>
          <span>0</span>分
        </div>
        <div class="text">我的积分</div>
      </div>
    </div>
    <div class="list-view">
      <div class="message">
        <img src="~assets/img/profile/message.svg" alt />
        <span>我的消息</span>
      </div>
      <div class="pointer">
        <img src="~assets/img/profile/pointer.svg" alt />
        <span>积分商城</span>
      </div>
      <div class="vip">
        <img src="~assets/img/profile/vip.svg" alt />
        <span>会员卡</span>
      </div>
      <div class="cart">
        <img src="~assets/img/profile/cart.svg" alt />
        <span>我的购物车</span>
      </div>
      <div class="shop">
        <img src="~assets/img/profile/shopping.svg" alt />
        <span>下载购物APP</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "UserList",
};
</script>

<style scoped>
.user-own {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 25px 0;
  text-align: center;
}

.user-own span {
  color: red;
  font-weight: 700;
  font-size: 24px;
}
.text {
  margin-top: 5px;
  font-size: 12px;
}

.list-view {
  padding: 10px;
}
.list-view > div {
  height: 45px;
  border-bottom: 1px solid #eee;
}

.list-view img {
  width: 18px;
  height: 18px;
  margin-top: 10px;
  margin-right: 10px;
}
</style>